import {BASE_URL} from '@/services/api'
import {METHOD, request} from '@/utils/request'

export async function generate(payload) {
  return request(`${BASE_URL}/system/generateCode`, METHOD.GET, payload)
}